/* 声明字体图标  这里一定要记住路径的问题，fonts文件夹在上一级目录*/
@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?tomleg');
    src: url('../fonts/icomoon.eot?tomleg#iefix') format('embedded-opentype'),
        url('../fonts/icomoon.ttf?tomleg') format('truetype'),
        url('../fonts/icomoon.woff?tomleg') format('woff'),
        url('../fonts/icomoon.svg?tomleg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

/* 版心 */
.panel {
    width: 1200px;
    margin: 0 auto;
}

/* 快捷导航模块 */
.shortcut {
    height: 31px;
    background-color: #f1f1f1;
    line-height: 31px;
}

.style-red {
    color: #c81623;
}

.left-float {
    float: left;
}

.right-float {
    float: right;
}

.shortcut ul li {
    float: left;
    color: #666;
}

.shortcut .right-float ul li:nth-child(2n) {
    width: 1px;
    height: 12px;
    background-color: #666;
    margin: 9px 15px 10px;
}

.arrow-icon::after {
    font-family: 'icomoon';
    content: '\e91e';
    margin-left: 5px;
}

/* header头部制作开始 */
.header {
    position: relative;
    height: 105px;
}

.logo {
    position: absolute;
    top: 25px;
    width: 171px;
    height: 61px;
}

.logo a {
    display: block;
    width: 171px;
    height: 61px;
    background: url(../images/logo.png) no-repeat;
    /* 为了不看到h1里的文字将字体大小设置为0 */
    font-size: 0;
}

.search {
    position: absolute;
    top: 25px;
    left: 344px;
    width: 538px;
    height: 36px;
    border: 2px solid #b1191a;
}

.search input[type="search"] {
    /* 因为行内块元素之间有间隙，所以将搜索框和按钮添加浮动 */
    float: left;
    width: 454px;
    height: 32px;
    padding-left: 10px;
}

.search button {
    float: left;
    width: 80px;
    height: 32px;
    background-color: #b1191a;
    font-size: 16px;
    color: #fff;
}

.hotwords {
    position: absolute;
    top: 69px;
    left: 346px;
}

.hotwords a {
    margin: 0 10px;
}

.shopcar {
    position: absolute;
    top: 25px;
    left: 993px;
    width: 140px;
    height: 36px;
    background-color: #f7f7f7;
    border: 1px solid #dfdfdf;
    text-align: center;
    line-height: 36px;
}

.shopcar::before {
    font-family: 'icomoon';
    content: '\e93a';
    margin-right: 7px;
    color: #b1191a;
}

.shopcar::after {
    font-family: 'icomoon';
    content: '\e920';
    margin-left: 14px;
}

.count {
    position: absolute;
    top: -7px;
    /* 为了让数值变大时，边框向右扩大，我们不能使用right，只能用left */
    left: 105px;
    /* right: 19px; */
    /* 这里不设置宽度是为了让数值变大时，撑开盒子 */
    /* width: 16px; */
    height: 14px;
    background-color: #e60012;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    line-height: 14px;
    color: #fefefe;
    /* 使用内边距来撑开盒子 */
    padding: 0 8px;
    text-align: center;
}

/* nav模块制作 */
.nav {
    height: 47px;
    border-bottom: 2px solid #b1191a;
}

.nav .dropdown {
    float: left;
    width: 209px;
    height: 45px;
    background-color: #b1191a;
}

.dropdown .dt {
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 16px;
    line-height: 45px;
    text-align: center;
}

.dropdown .dd {
    display: block;
    width: 100%;
    height: 466px;
    background-color: #c81623;
}

.dd ul li {
    position: relative;
    margin-left: 2px;
    padding-left: 10px;
    width: 100%;
    height: 31px;
    font-size: 14px;
    line-height: 31px;
}

.dd ul li a {
    color: #fff;
}

.dd ul li:hover {
    background-color: #f7f7f7;
}

.dd ul li:hover a {
    color: #c81623;
}

.dd ul li::after {
    font-family: 'icomoon';
    content: '\e920';
    position: absolute;
    top: 3px;
    left: 182px;
    color: #f7f7f7;
}

.nav .navitems {
    float: left;
}

.navitems ul li {
    float: left;
}

.navitems ul li a {
    display: block;
    height: 45px;
    line-height: 45px;
    color: #333;
    font-size: 16px;
    padding: 0 25px;
}

.navitems ul li a:hover {
    color: #c81623;
}

/* 底部footer模块 */
.footer {
    height: 417px;
    background-color: #f5f5f5;
    padding-top: 30px;
}

.mod-service {
    height: 79px;
    border-bottom: 1px solid #ededed;
}

.mod-service ul li {
    float: left;
    width: 240px;
    height: 49px;
    background-color: palegoldenrod;
    padding-left: 34px;
}

.mod-service ul li h5 {
    float: left;
    margin-right: 8px;
    width: 49px;
    height: 49px;
}

.mod-service ul li .one {
    background: url(../images/icons.png) no-repeat -253px -3px;
}

.mod-service ul li .two {
    background: url(../images/icons.png) no-repeat -255px -54px;
}

.mod-service ul li .three {
    background: url(../images/icons.png) no-repeat -257px -106px;
}

.mod-service ul li .four {
    background: url(../images/icons.png) no-repeat -258px -157px;
}

.mod-service ul li .five {
    background: url(../images/icons.png) no-repeat -258px -209px;
}

.mod-service ul li div h4 {
    color: #333;
    font-size: 14px;
}

.mod-service ul li div p {
    color: #666;
    font-size: 12px;
}

.mod-help {
    height: 188px;
    border-bottom: 1px solid #ededed;
    padding-left: 49px;
    padding-top: 21px;
}

.mod-help dl {
    float: left;
    width: 199px;
}

.mod-help dl:last-child {
    width: 95px;
    text-align: center;
}

.mod-help dl dt {
    margin-bottom: 8px;
    color: #333;
    font-size: 16px;
}

.mod-help dl dd a {
    color: #666;
    font-size: 12px;
    line-height: 21px;
}

.mod-copyright {
    padding-top: 20px;
    text-align: center;
}

.links {
    margin-bottom: 15px;
}

.links a {
    margin: 0 3px;
}

.copyright {
    line-height: 20px;
}